﻿@using MsForgeReboot.Web.Extensions
@model PagedList.IPagedList<MsForgeReboot.Framework.Entities.Speaker>

@{
    ViewBag.Title = "Predavački biro";
}

<h2>@ViewBag.Title</h2>

@Html.Partial("_PagedView", Model)
<ul>
    @foreach (var item in Model) {
        <li>
            <div class="speaker-listItem">
                <h3>@Html.ActionLink(item.FullName, "View", new { urlPointer = item.UrlPointer })</h3>   
                <p>
                    @Html.DisplaySummaryFor(item.Biography) @Html.ActionLink("...", "View", new { urlPointer = item.UrlPointer })
                </p>
            </div>
        </li>
    }
</ul>
@Html.Partial("_PagedView", Model)